package com.ziyun.erp.modules.storeMaterialIn.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.ziyun.erp.modules.otherAccessory.entity.OtherAccessoryEntity;
import com.ziyun.erp.modules.storeMaterialInDetail.entity.StoreMaterialInDetailEntity;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 门店耗材入库表
 * 
 * @author xueqz
 * @email 
 * @date 2018-12-13 15:08:29
 */
@TableName("store_material_in")
public class StoreMaterialInEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	/**
	 * 关联明细表
	 */
	@TableField(exist = false)
	private List<StoreMaterialInDetailEntity> storeMaterialInDetailEntityList;
	/**
	 * 仓库名
	 */
	@TableField(exist = false)
	private String stockName;
	/**
	 * 自增id
	 */
	@TableId
	private Integer inId;
	/**
	 * 单据号
	 */
	private String inNo;
	/**
	 * 含税总金额
	 */
	private BigDecimal totalMoney;
	/**
	 * 是否含税:1.是,0.否
	 */
	private Integer tax;
	/**
	 * 入库仓库id
	 */
	private Integer stockId;
	/**
	 * 库存交易类型：1.采购入库2.红冲3.盘存10.采购退货7.调拨入库8.数据迁移
	 */
	private Integer type;
	/**
	 * 库存交易方向(1增加,-1减少)
	 */
	private Integer direction;
	/**
	 * 单据状态：1.待入库审核2.已入库3.已驳回
	 */
	private Integer status;
	/**
	 * 备注
	 */
	private String remark;
	/**
	 * 创建人
	 */
	private String createName;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 审核人
	 */
	private String checkName;
	/**
	 * 审核时间
	 */
	private Date checkTime;
	/**
	 * 采购单财务付款状态 notSubmit:待提交 examine：待审核 false:待付款 true：已付款
	 */
	private String paymentStatus;
	/**
	 * 财务付款时间
	 */
	private Date paymentDate;
	/**
	 * 财务付款备注
	 */
	private String paymentRemark;
	/**
	 * 入库单据图片
	 */
	private String purchaseImages;
	/**
	 * 入库图片url数组
	 */
	@TableField(exist = false)
	private List<OtherAccessoryEntity> otherAccessoryList;

	public List<OtherAccessoryEntity> getOtherAccessoryList() {
		return otherAccessoryList;
	}

	public void setOtherAccessoryList(List<OtherAccessoryEntity> otherAccessoryList) {
		this.otherAccessoryList = otherAccessoryList;
	}

	/**
	 * 设置：自增id
	 */
	public void setInId(Integer inId) {
		this.inId = inId;
	}
	/**
	 * 获取：自增id
	 */
	public Integer getInId() {
		return inId;
	}
	/**
	 * 设置：单据号
	 */
	public void setInNo(String inNo) {
		this.inNo = inNo;
	}
	/**
	 * 获取：单据号
	 */
	public String getInNo() {
		return inNo;
	}
	/**
	 * 设置：含税总金额
	 */
	public void setTotalMoney(BigDecimal totalMoney) {
		this.totalMoney = totalMoney;
	}
	/**
	 * 获取：含税总金额
	 */
	public BigDecimal getTotalMoney() {
		return totalMoney;
	}
	/**
	 * 设置：是否含税:1.是,0.否
	 */
	public void setTax(Integer tax) {
		this.tax = tax;
	}
	/**
	 * 获取：是否含税:1.是,0.否
	 */
	public Integer getTax() {
		return tax;
	}
	/**
	 * 设置：入库仓库id
	 */
	public void setStockId(Integer stockId) {
		this.stockId = stockId;
	}
	/**
	 * 获取：入库仓库id
	 */
	public Integer getStockId() {
		return stockId;
	}
	/**
	 * 设置：库存交易类型：1.采购入库2.红冲3.盘存10.采购退货7.调拨入库8.数据迁移
	 */
	public void setType(Integer type) {
		this.type = type;
	}
	/**
	 * 获取：库存交易类型：1.采购入库2.红冲3.盘存10.采购退货7.调拨入库8.数据迁移
	 */
	public Integer getType() {
		return type;
	}
	/**
	 * 设置：库存交易方向(1增加,-1减少)
	 */
	public void setDirection(Integer direction) {
		this.direction = direction;
	}
	/**
	 * 获取：库存交易方向(1增加,-1减少)
	 */
	public Integer getDirection() {
		return direction;
	}
	/**
	 * 设置：单据状态：1.待入库审核2.已入库3.已驳回
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}
	/**
	 * 获取：单据状态：1.待入库审核2.已入库3.已驳回
	 */
	public Integer getStatus() {
		return status;
	}
	/**
	 * 设置：备注
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}
	/**
	 * 获取：备注
	 */
	public String getRemark() {
		return remark;
	}
	/**
	 * 设置：创建人
	 */
	public void setCreateName(String createName) {
		this.createName = createName;
	}
	/**
	 * 获取：创建人
	 */
	public String getCreateName() {
		return createName;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 * 设置：审核人
	 */
	public void setCheckName(String checkName) {
		this.checkName = checkName;
	}
	/**
	 * 获取：审核人
	 */
	public String getCheckName() {
		return checkName;
	}
	/**
	 * 设置：审核时间
	 */
	public void setCheckTime(Date checkTime) {
		this.checkTime = checkTime;
	}
	/**
	 * 获取：审核时间
	 */
	public Date getCheckTime() {
		return checkTime;
	}
	/**
	 * 设置：采购单财务付款状态 notSubmit:待提交 examine：待审核 false:待付款 true：已付款
	 */
	public void setPaymentStatus(String paymentStatus) {
		this.paymentStatus = paymentStatus;
	}
	/**
	 * 获取：采购单财务付款状态 notSubmit:待提交 examine：待审核 false:待付款 true：已付款
	 */
	public String getPaymentStatus() {
		return paymentStatus;
	}
	/**
	 * 设置：财务付款时间
	 */
	public void setPaymentDate(Date paymentDate) {
		this.paymentDate = paymentDate;
	}
	/**
	 * 获取：财务付款时间
	 */
	public Date getPaymentDate() {
		return paymentDate;
	}
	/**
	 * 设置：财务付款备注
	 */
	public void setPaymentRemark(String paymentRemark) {
		this.paymentRemark = paymentRemark;
	}
	/**
	 * 获取：财务付款备注
	 */
	public String getPaymentRemark() {
		return paymentRemark;
	}
	/**
	 * 设置：入库单据图片
	 */
	public void setPurchaseImages(String purchaseImages) {
		this.purchaseImages = purchaseImages;
	}
	/**
	 * 获取：入库单据图片
	 */
	public String getPurchaseImages() {
		return purchaseImages;
	}

	public List<StoreMaterialInDetailEntity> getStoreMaterialInDetailEntityList() {
		return storeMaterialInDetailEntityList;
	}

	public void setStoreMaterialInDetailEntityList(List<StoreMaterialInDetailEntity> storeMaterialInDetailEntityList) {
		this.storeMaterialInDetailEntityList = storeMaterialInDetailEntityList;
	}

	public String getStockName() {
		return stockName;
	}

	public void setStockName(String stockName) {
		this.stockName = stockName;
	}
}
